<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
  <title>M3 Test Plan</title>
</head>
<body>
<h2> 3.1 M3 Test Grid<br>
</h2>
Test day: Wednesday, November 03, 2004<br>
Components: JDT/Text, JDT/UI, Platform/Search, and Platform/Text<br>
Testers: Martin Aeschlimann, Andre Weinand, Daniel Megert, Markus
Keller, Christof Marti, Erol Koc, Tobias Widmer, Tom Eicher and Dirk
Baeumer, <br>
<h4>Bug verification (all)<br>
</h4>
Verify P1 and P2 bugs fixed during M3.<br>
<ul>
  <li><a
 href="https://bugs.eclipse.org/bugs/buglist.cgi?short_desc_type=allwordssubstr&amp;short_desc=&amp;product=JDT&amp;component=Text&amp;component=UI&amp;target_milestone=3.1+M3&amp;long_desc_type=allwordssubstr&amp;long_desc=&amp;bug_file_loc_type=allwordssubstr&amp;bug_file_loc=&amp;keywords_type=allwords&amp;keywords=&amp;bug_status=RESOLVED&amp;resolution=FIXED&amp;priority=P1&amp;priority=P2&amp;emailtype1=substring&amp;email1=&amp;emailtype2=substring&amp;email2=&amp;bugidtype=include&amp;bug_id=&amp;votes=&amp;changedin=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;cmdtype=doit&amp;namedcmd=Assigned+to+me&amp;newqueryname=&amp;order=Reuse+same+sort+as+last+time&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=">P1
&amp; P2 bugs in JDT/UI &amp; JDT/Text (7)<br>
    </a></li>
  <li><a
 href="https://bugs.eclipse.org/bugs/buglist.cgi?short_desc_type=allwordssubstr&amp;short_desc=&amp;product=Platform&amp;component=Search&amp;component=Text&amp;target_milestone=3.1+M3&amp;long_desc_type=allwordssubstr&amp;long_desc=&amp;bug_file_loc_type=allwordssubstr&amp;bug_file_loc=&amp;keywords_type=allwords&amp;keywords=&amp;bug_status=RESOLVED&amp;resolution=FIXED&amp;priority=P1&amp;priority=P2&amp;emailtype1=substring&amp;email1=&amp;emailtype2=substring&amp;email2=&amp;bugidtype=include&amp;bug_id=&amp;votes=&amp;changedin=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;cmdtype=doit&amp;namedcmd=Assigned+to+me&amp;newqueryname=&amp;order=Reuse+same+sort+as+last+time&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=">P1
&amp; P2 bugs in Platform/Search &amp; Platform/Text (4)</a><br>
  </li>
</ul>
<h4>Misc (Christof, Erol)<br>
</h4>
<ul>
  <li>test rendering support for var args</li>
  <ul>
    <li>bar(String... strings)&nbsp; rendered correctly</li>
    <li>arrays (e.g. String[]) not rendered as var args<br>
    </li>
  </ul>
</ul>
<h4>Build Path (Markus, Tom)<br>
</h4>
<ul>
  <li>test new projects build path property page</li>
  <ul>
    <li>adding of project references</li>
    <li>removing of project references</li>
  </ul>
  <li>test new support to include/exclude types from an referenced
library. To see corresponding compiler warnings the compiler setting
"Access restriction violation" on the compiler's build path page has to
be set to warning or error.<br>
  </li>
  <ul>
    <li>adding and removing of include and exclude rules</li>
    <li>editing of include and exclude rules<br>
    </li>
  </ul>
</ul>
<h4></h4>
<h4>Refactoring (Christof, Dirk)<br>
</h4>
<ul>
  <li>Pull Up and Push Down</li>
  <ul>
    <li>removal of unused imports in source type/compilation unit<br>
    </li>
  </ul>
  <li>Move instance method:</li>
  <ul>
    <li>removal of unused imports if types are no longer referenced in
source compilation unit</li>
    <li>support for generating a delegate</li>
    <ul>
      <li>delegate must be generated if there is a reference from a
binary type<br>
      </li>
    </ul>
    <li>move of method refering to type parameters (generics):</li>
    <ul>
      <li>should reject all&nbsp; methods that have references to
generic entities defined outside of the method declaration</li>
      <li>accepts method with and without type parameters in generic
types<br>
      </li>
    </ul>
  </ul>
  <li>Move Member Type to New File</li>
  <ul>
    <li>removal of unused imports in source compilation unit</li>
    <li>visibility is increased if members of the newly created top
level type aren't visible anymore in source type.<br>
    </li>
    <li>handles all cases of generic types</li>
    <ul>
      <li>&nbsp;inner class is generic</li>
      <li>declaring outer is generic</li>
      <li>inner refers to outer type parameters from outer class<br>
      </li>
    </ul>
    <li>uses the correct type parameter for the generated instance
field to access the former outer type<br>
    </li>
  </ul>
  <li>Augment Raw Collection Clients (has to be enabled via the work in
progress preference page)<br>
  </li>
  <ul>
    <li>test that the element type of collections (maps aren't
supported yet) are inferred correctly</li>
    <li>that unneded casts are removed.</li>
  </ul>
  <li>Convert anonymous class to nested</li>
  <ul>
    <li>handles all cases of generic types </li>
    <ul>
      <li>anonymous is a subclass of an instance of a generic class</li>
      <li>outer class is generic</li>
      <li>outer method is generic</li>
      <li>anonymous refers to type parameter form outer class and/or
method<br>
      </li>
    </ul>
  </ul>
</ul>
<h4>Quick Fix (Dirk, Erol)<br>
</h4>
<ul>
  <li>test serial verion id quick fix (implementation now spawns second
VM). Test generating ID for file using 5.0 features. <br>
  </li>
  <li>split if statement with and'ed expression (if (a &amp;&amp; b)
==&gt; if (a) { if (b) {} }</li>
  <li>pick out string ( "abc[def]gh" ==&gt; "abc" + "def" + "gh" where
[] denotes the selection)<br>
  </li>
</ul>
<h4>Enumerations (Markus, Tom)<br>
</h4>
<ul>
  <li>test new enum wizard</li>
  <li>rename of enum constants<br>
  </li>
</ul>
<h4>Static imports (Christof, Tobias)<br>
</h4>
<ul>
  <li>test that organize import handles existing static imports (note
that organize import doesn't add static imports)</li>
  <li>add import for static fields (methods aren't supported yet).
Should add static import.</li>
  <li>copy/paste of code that refers to static imports</li>
  <li>rename package where package name is used in static import<br>
  </li>
</ul>
<h4>Code Formatter (Markus, Tom)<br>
</h4>
<ul>
  <li>multiple selection support for line wrapping <br>
  </li>
  <ul>
    <li>test that more than one "language element" can be changed at
once</li>
    <li>test that the correct hint (x of N) elements is rendered for
multi selections.<br>
    </li>
  </ul>
</ul>
<h4>Compare (Daniel, Erol)<br>
</h4>
<ul>
  <li>Structural compare</li>
  <ul>
    <li>test that structural diff is correct</li>
    <li>test that enums (reordering doesn't result in a diff) and var
args are handle<br>
    </li>
  </ul>
</ul>
<h4>Text Search (Dirk, Erol)<br>
</h4>
<ul>
  <li>test that both background and foreground searches can be canceled</li>
  <li>test that out of sync resources are reported correctly (only one
reprot for all out of sync resources)<br>
  </li>
</ul>
<h4>Properties File Editor (Martin, Tobias)<br>
</h4>
<ul>
  <li>syntax coloring</li>
  <li>hovering hover keys in Java files. Correct value is shown</li>
  <li>Ctrl+Click and F3 on keys in Java files take you to the
properties file</li>
  <li>font can be controlled via preference settings</li>
  <li>properties editor is used in compare editor for property files<br>
  </li>
</ul>
<h4> Java Editor (Andre, Tobias)<br>
</h4>
<ul>
  <li>mark occurrences to indicate method implementations</li>
  <ul>
    <li>test for super classes and&nbsp; interfaces.</li>
    <li>test automatic marking in editor<br>
    </li>
    <li>test search action "Implement occurrences"</li>
  </ul>
  <li>AST provider</li>
  <ul>
    <li>start Eclipse with -debug and have an .options file in your
Eclipse install directory that has at least the following entry:
org.eclipse.jdt.ui/debug/ASTProvider=true</li>
    <li>check the .log for creations of ASTs. AST should only be
created in reconcile or on editor switching or when not cached<br>
      <br>
    </li>
  </ul>
</ul>
<h4>Platform/Text (Markus, Tom)<br>
</h4>
<ul>
  <li>test remove trailing whitepsace action (note that action isn't
visible in UI. Must be bound via a key binding) and convert line
delimiter action. Actions work on both text editors and Java editors and
can be triggered from package explorer or editor.<br>
  </li>
  <li>encoding for external files
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=74589)</li>
  <ul>
    <li>open external file and then try to change encoding</li>
  </ul>
</ul>
</body>
</html>
